package com.weds.edwx .service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edwx.mapper .BcqCntMapper;
import com.weds.edwx.entity .BcqCntEntity;

/**
 * @Author sxm
 * @Description BcqCnt管理
 * @Date 2020-01-09
 */
@Service
public class BcqCntService extends BaseService {

	@Autowired
	private BcqCntMapper bcqCntMapper;

	private Logger log = LogManager.getLogger();


	public int insert(BcqCntEntity record) {
		return bcqCntMapper.insert(record);
	}

	public int insertSelective(BcqCntEntity record) {
		return bcqCntMapper.insertSelective(record);
	}

	public BcqCntEntity selectByUser(BcqCntEntity record) {
		return bcqCntMapper.selectByUser(record);
	}
	public int selectMonthAlreadyTimesByUser(BcqCntEntity record){
		return bcqCntMapper.selectMonthAlreadyTimesByUser(record);
	}
	public int MonthNotApprovedTimesByUser(BcqCntEntity record){
		return bcqCntMapper.MonthNotApprovedTimesByUser(record);
	}
}
